function ImageLine(doc, container, width, height, user, date, options) {
  this._doc = doc;
  this._container = container;
  this._width = (width) ? width : '30px';
  this._height = (height) ? height: '30px';
  this._user = user;
  this._date = date;
  this._options = options;
  this._line = (options && options.line) ? options.line : null;
  
  this._unique = MiscUtils.unique();
  
  this._createElements();
  this._gui = AbsImageLine.gui(this._unique);
}

ImageLine.prototype._createElements = function() {
  var div = document.createElement('div');
  div.id = this._unique + '_move_div';
  this._container.appendChild(div);
  var div1 = document.createElement('div');
  div1.style.position = 'absolute';
  div1.style.left = '102%';
  div1.style.top = '-10px';
  div1.style.width = '10px';
  div1.style.height = '10px';
  div1.style.cursor = 'pointer';
  div1.id = this._unique + '_close_div';
  div1.style.textAlign = 'center';
  div1.style.verticalAlign = 'middle';
  div1.appendChild(document.createTextNode('x'));
  div.appendChild(div1);
};